<?
	$sql = $mysqlclass->mysql_my_query("
		CREATE TABLE IF NOT EXISTS `tvs_form_post_catalog` (
		  `id` int(11) NOT NULL auto_increment,
		  `name` text NOT NULL,
		  `hide` int(1) NOT NULL default '1',
		  `pos` int(11) NOT NULL default '0',
		  `parent` int(11) NOT NULL default '0',
		  `depth` int(11) NOT NULL default '0',
		  `type` tinytext NOT NULL,
		  `time_create` datetime default NULL,
		  `time_modif` datetime default NULL,
		  `lang` char(2) NOT NULL default '0',
		  `groupe` tinytext NOT NULL,
		  `dlink` tinytext NOT NULL,
		  `author` int(11) NOT NULL default '0',
		  `editor` int(11) NOT NULL default '0',
		  `block_id` int(11) NOT NULL default '0',
		  PRIMARY KEY  (`id`),
		  UNIQUE KEY `id` (`id`),
		  KEY `id_2` (`id`)
		) ENGINE=MyISAM AUTO_INCREMENT=1 
	", __LINE__, __FILE__);

	$sql = $mysqlclass->mysql_my_query("
		CREATE TABLE IF NOT EXISTS `tvs_form_post_data` (
		  `id` int(11) NOT NULL auto_increment,
		  `parent` int(11) NOT NULL default '0',
		  `name` tinytext NOT NULL,
		  `value` longtext NOT NULL,
		  `type` tinytext NOT NULL,
		  `pos` int(11) NOT NULL default '0',
		  UNIQUE KEY `id` (`id`)
		) ENGINE=MyISAM AUTO_INCREMENT=1 
	", __LINE__, __FILE__);
?>